<?php

	add_action( 'wp_print_scripts', 'load_pf_jquery' );
	function load_pf_jquery()
    {	
		if ( !is_page_template('page-portfolio.php') )  return; 
	
		wp_enqueue_script('jquery');
		wp_enqueue_script('jquery-isotope', trailingslashit( CVINCLUDES_PORTFOLIO_URI ) . 'filterable/js/jquery.isotope.js');	
		wp_enqueue_script('isotope-portfolio', trailingslashit( CVINCLUDES_PORTFOLIO_URI ) . 'filterable/js/portfolio.isotope.js');	
    }
	add_action( 'wp_print_styles', 'load_pf_style' );
	function load_pf_style()
    {
		if ( !is_page_template('page-portfolio.php') )  return; 
		
		wp_enqueue_style('style-isotope', trailingslashit( CVINCLUDES_PORTFOLIO_URI ) . 'filterable/css/isotope.css');	
    }
?>
